<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>华康财富后台管理系统</title>
<meta http-equiv="X-UA-Compatible" content="IE=8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<%@include file="../../comjs.jsp"%>
<script src="<%=basePath%>ueditor/ueditor.config.js"
	type="text/javascript"></script>
<script src="<%=basePath%>ueditor/ueditor.all.js" type="text/javascript"></script>
<script type="text/javascript"
	src="<%=basePath%>js/datePicker4.72/WdatePicker.js"></script>
<link href="<%=basePath%>css/product.css?_v=<%=versions%>"
	type="text/css" rel="stylesheet" />
</head>
<body>
	<form class="com-addForm" id="com-addForm" action="javascript:void(0)"
		method="post" name="searchModForm">
		<input name="id" type="hidden" />
		<div class="col-sm-12 col-lg-12" style="padding-left: 2px;">
			<ol class="breadcrumb" style="margin-bottom: 0px;">
				<li><a href="#"> <i class="fa fa-home"></i> <label
						id="fisrtMenuLabel">其它</label>
				</a></li>
				<li>></li>
				<li class="active"><label id="secondMenuLabel">添加卡券</label></li>
			</ol>
		</div>
		<table>
			<tr>
				<td class="tr"><label class="initStart">*</label>卡券类型：</td>
				<td class="tl"><select name="type" datatype="n1-10"
					style="width: 160px;background: #f9f9f9;"
					class="form-control com-sel">
						<%@include file="../../public/cardsType_options.jsp"%>
				</select></td>
				<td><div class="Validform_checktip"></div></td>

			</tr>
			<tr>
				<td style="width:100px;" class="tr"><label class="initStart">*</label>卡券面值：
				</td>
				<td style="width:200px;" class="tl"><input type="text"
					class="com-inp fr-text" name="rate" datatype="*1-20"
					errormsg="字数最多20个！" nullmsg="不能为空！" /></td>
				<td style="width: 150px;"><div class="Validform_checktip"></div></td>
			</tr>

			<tr>
				<td style="width:100px;" class="tr"><label class="initStart">*</label>卡券描述：
				</td>
				<td style="width:200px;" class="tl"><input type="text"
					class="com-inp fr-text" name="cardDesc" datatype="*1-20"
					errormsg="字数最多20个！" nullmsg="不能为空！" /></td>
				<td style="width: 150px;"><div class="Validform_checktip"></div></td>
			</tr>
			<tr>
				<td class="tr">积分规则：</td>
				<td class="tl"><select name="pointsRuleId"
					class="com-sel fr-sel" style="width: 160px;background: #f9f9f9;"
					datatype="*" nullmsg="请选择！" errormsg="请选择！">

				</select></td>
				<td></td>
			</tr>
			
			 
						
			<tr>
				<td style="width:100px;" class="tr"><label class="initStart">*</label>领取开始时间：
				</td>
				<td style="width:200px;" class="tl"><input type="text"
					name="startDate" id="startDate" class="com-inp fr-text"
					nullmsg="请选择活动开始时间！"
					onClick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'endDate\')}'})">
				<td style="width: 150px;"><div class="Validform_checktip"></div></td>
			</tr>

			<tr>
				<td style="width:100px;" class="tr"><label class="initStart">*</label>领取截止时间：
				</td>
				<td style="width:200px;" class="tl"><input type="text"
					datatype="*" class="com-inp fr-text" name="endDate" id="endDate"
					nullmsg="请选择活动终止时间！"
					onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'startDate\')}'})" />
				<td style="width: 150px;"><div class="Validform_checktip"></div></td>
			</tr>
			
				<tr>
				<td style="width:100px;" class="tr"><label class="initStart">*</label>使用截止时间：
				</td>
				<td style="width:200px;" class="tl"><input type="text"
					datatype="*" class="com-inp fr-text" name="expireDate" id="expireDate"
					nullmsg="请选择活动终止时间！"
					onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'startDate\')}'})" />
				<td style="width: 150px;"><div class="Validform_checktip"></div></td>
			</tr>
			
			<tr>
				<td style="width:100px;" class="tr"><label class="initStart">*</label>发放数目：
				</td>
				<td style="width:200px;" class="tl"><input type="text"
					style="width:100px;" class="com-inp fr-text" name="totalNum"
					datatype="*1-255" errormsg="字数最多100个！" nullmsg="不能为空！" /></td>
				<td style="width: 150px;"><div class="Validform_checktip"></div></td>
			</tr>
		</table>
	</form>
	<script type="text/javascript"
		src="<%=basePath%>mgr/activity/cards/cardsAdd.js?_v=<%=versions%>"></script>
</body>
</html>